/*
 * Author: xiguan
 * Mail: xiguan.teng@qq.com
 * -----
 * Last Modified: 2022-06-04 17:12:49
 * Modified By: xiguan
 * -----
 * Copyright (c) 2022 XiGuan Inc.
 * 
 * No Bug No error No warning.
 */



#include <bits/stdc++.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <malloc.h>

using namespace std;

extern char **environ;


int main(int argc, char *argv[]){

    cout << "Argument: " << endl;
    for(int i = 0; i < argc; ++ i){
        printf("argv[%d] is %s;\n", i, argv[i]);
    }

    cout << "Envrironment: " << endl;
    for(int i = 0; environ[i] != NULL; ++ i){
        printf("%s;\n", environ[i]);
    }
    
    return 0;
}